package com.isunland.managesystem.ui;

import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import com.isunland.managesystem.R;

public abstract class BaseFullScreenActivity extends SingleFragmentActivity {
  protected void onCreate(android.os.Bundle savedInstanceState) {

    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
        WindowManager.LayoutParams.FLAG_FULLSCREEN);
    super.onCreate(savedInstanceState);
    View layout = findViewById(R.id.appbar);
    if (layout != null) layout.setVisibility(View.GONE);
  }
}
